<template>
  <div>
      <!-- 影像上传 -->
      <h3 v-show="title" class="title">{{title}}</h3>
      <div class="body">
        <div class="self-tab">{{$I18n.imageUpload}}{{$I18n.uploadNum}}</div>
        <el-form>
          <!-- claimData -->
          <el-form-item :label="$I18n.claimData">
            <el-select v-model="type">
              <el-option v-for="item in typeList" :key="item.type" :label="item.name" :value="item.type">
              </el-option>
            </el-select>
          </el-form-item>
        </el-form>
        <ul v-for="item in typeList" v-show="item.type === type">
          <li v-for="v in item.list">111</li>
        </ul>
      </div>
  </div>
</template>

<script>
export default {
  props: ['title'],
  data() {
    return {
      type: 'a',
      typeList: [
        {type: 'a', name: '保险合同', list: ['1', '2']},
        {type: 'b', name: '理赔申请书', list: ['1', '2']},
        {type: 'c', name: '被保人身份证件', list: ['1', '2', '2']},
        {type: 'd', name: '投保人身份证件', list: ['1', '2', '1']}
      ]
    }
  }
}
</script>